package com.zjh.jpa.config.bean;

import org.springframework.beans.factory.FactoryBean;
import org.springframework.stereotype.Component;

//这个可以类似@Bean方法注入，而且还能额外注入属性。
@Component
public class JpaFactorBean implements FactoryBean {
    @Override
    public Object getObject() throws Exception {
        return null;
    }

    @Override
    public Class<?> getObjectType() {
        return null;
    }
}
